home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 May / SGI IRIX 6.5 Applications 1999 May.iso / dist / extras / netscape_lite.idb / usr / bin / X11 / netscape.z / netscape
Text File  |  1999-03-15  |  1KB  |  50 lines

  1. #!/bin/sh
  2. #Tag 0x1064E
  3. #########################################################################
  4. #                                    #
  5. #    NETSCAPE startup utility                    #
  6. #    Copyright (c) 1997 by Netscape Communications Corporation    #
  7. #    Copyright (c) 1998-1999 by Silicon Graphics, Inc             #
  8. #                                    #
  9. #    File name:    netscape                    #
  10. #                                    #
  11. #    Version:    1.0                        #
  12. #                                    #
  13. #    Description:    This script starts up Communicator software    #
  14. #            on an SGI workstation.                 #
  15. #                                    #
  16. #    Usage:        To execute the script, type:            #
  17. #                                    #
  18. #                ./netscape [ args ]            #
  19. #                                    #
  20. #    Exit codes:    0    Successful completion            #
  21. #                                    #
  22. #    Author(s):    Brian Ostrom (briano@netscape.com)        #
  23. #            Victor Riley (var@sgi.com)            #
  24. #                                    #
  25. #    Notes:        * MOZILLA_HOME is /var/netscape/communicator    #
  26. #                                    #
  27. #########################################################################
  28. #
  29. PRODUCT="Communicator"
  30. MOZILLA_HOME=/var/netscape/communicator
  31. PATH=${MOZILLA_HOME}:${PATH}
  32. export MOZILLA_HOME PATH
  33.  
  34. #
  35. # Is this a first time startup?  If so, create the .netscape dir
  36. # and put the default bookmark file in it.
  37. #
  38. if test ! -d ${HOME}/.netscape
  39. then
  40.     # New install, or upgrade from 0.x or 1.x.
  41.     mkdir ${HOME}/.netscape
  42.     if test -f ${MOZILLA_HOME}/bookmark.htm
  43.     then 
  44.         cp ${MOZILLA_HOME}/bookmark.htm ${HOME}/.netscape/bookmarks.html
  45.         chmod 644 ${HOME}/.netscape/bookmarks.html
  46.     fi
  47. fi
  48.  
  49. netscape "$@"
  50.